<template>
    <div class="home_card">
        <img :src="img" alt="">
        <p>{{ title }} <van-tag type="danger">标签</van-tag></p>
        
    </div>
</template>

<script setup>
import {defineProps} from 'vue'
const props = defineProps(["img","title"])
</script>

<style lang="scss" scoped>
.home_card{
    padding: 10px 0 0 10px;
}
.home_card > img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
}
</style>